﻿
using Irony.Compiler;

namespace IronLua.Ast {

	public class BreakStatement : Statement {

		public override LuaNodeType NodeType {
			get { return LuaNodeType.BreakStatement; }
		}

		public BreakStatement (CompilerContext context, NonTerminal nonTerminal, SourceLocation location, AstNodeList childNodes)
			: base (context, nonTerminal, location, childNodes)
		{
		}

		public override void Accept (ILuaAstVisitor visitor)
		{
			visitor.VisitBreakStatement (this);
		}
	}
}
